@echo off
chcp 65001

:: 定义基本信息
set "username=bairui_admin"
set "password=lianjingWeb123"
set "host=101.133.223.75"

:: 定义文件位置
set /p sqlFile=拖入文件：

::导入

mysql -u%username% -p%password% -h%host% < "C:\Users\liyan\workspace\bairui.international\数据脚本\dropAndCreate_test.sql"
mysql -u%username% -p%password% -h%host% --default-character-set=utf8 bairui_international_test<%sqlFile%

pause